/**
 * 
 * Copyright 2008 Stefan Ehrhardt
 * 
 * This file is part of the TicTacToe game.
 * 
 * TicTacToe game is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * TicTacToe game is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with TicTacToe game.  If not, see <http://www.gnu.org/licenses/>.
 * 
 */
package org.learning.tictactoe.model;

/**
 * This class represents the game engine for the
 * TicTacToe.
 * 
 * @author Stefan Ehrhardt
 *
 */
public class Game {
	
	private Player playerOne;
	
	private Player playerTwo;
	
	/**
	 * The default contructor.
	 */
	public Game() {
		playerOne = new Player();
		playerTwo = new Player();
	}
	
	public Game(Player playerOne, Player playerTwo) {
		this.playerOne = playerOne;
		this.playerTwo = playerTwo;
	}

	/**
	 * @return the playerOne
	 */
	public Player getPlayerOne() {
		return playerOne;
	}

	/**
	 * @param playerOne the playerOne to set
	 */
	public void setPlayerOne(Player playerOne) {
		this.playerOne = playerOne;
	}

	/**
	 * @return the playerTwo
	 */
	public Player getPlayerTwo() {
		return playerTwo;
	}

	/**
	 * @param playerTwo the playerTwo to set
	 */
	public void setPlayerTwo(Player playerTwo) {
		this.playerTwo = playerTwo;
	}
	
}